		<script>
			$(document).ready(function(){
				$('#newclient').bind('click', function() {
					$.ajax({
						type: "GET",
						data: '',
						url: '<?=base_url('admin/home/addclient')?>',
						beforeSend: function() {
							$('#newclient').after("<img id='wait' src='<?=$this->config->item('images').'loading.png';?>' />");
						},
						success: function(msg) {
							$("#wait").remove();			
							//$("#info-client").remove();			
							$("#content").html(msg);			
						}
					});
				});
				$('#listclient').bind('click', function() {
					$('.menu').html('');
					$.ajax({
						type: "GET",
						data: '',
						url: '<?=base_url('admin/home/listclient')?>',
						beforeSend: function() {
							$('#newclient').after("<img id='wait' src='<?=$this->config->item('images').'loading.png';?>' />");
						},
						success: function(msg) {
							$("#wait").remove();			
							//$("#info-client").remove();			
							$("#content").html(msg);			
						}
					});
				});
			});
		</script>  
			<ul>
              <li><a id="newclient" >New Client</a></li>
              <li><a id="listclient"> List Client</a></li>
              <li><a href="">Menu 3</a></li>
			  <? if($this->session->userdata('user')){?>
              <li><a href="<?=base_url('authentication/logout');?>">Log Out</a></li>
			  <? } ?>
              <li style="margin-top:100px; text-align:center; cursor:pointer;"><a id="save">Save</a></li>
           </ul>